<template>
  <div class="app-container">
    <el-tabs v-model="activeName"  @tab-click="handleClick" type="border-card">
      <el-tab-pane label="客户级别" name="customer_level">
        <custom-dict-data v-if="activeName==='customer_level'" :dictType="activeName"/>
      </el-tab-pane>
      <el-tab-pane label="合同类型" name="contractCategory">
        <contract-category  v-if="activeName==='contractCategory'"  />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  import CustomDictData from "@/views/system/dict/customDictData"
  import ContractCategory from "./contractCategory"
  export default {
    name: "LeaseFit",
    components:{ CustomDictData , ContractCategory },
    data() {
      return {
        activeName: 'customer_level'
      };
    },
    created() {
      this.activeName = this.$route.query.activeName||'customer_level'
    },
    methods: {
      handleClick(tab, event) {

      }
    }
  };
</script>
